package org.farm2.skc.service;

import org.farm2.skc.domain.SkcKnowVersion;
import org.farm2.tools.db.DataQuery;
import org.farm2.tools.db.DataResult;

import java.util.List;

/**知识版本 
 * @author cbtg自动生成  2025-2-4 12:17:07 
 */
public interface SkcKnowVersionServiceInter {

    public SkcKnowVersion insertSkcKnowVersionEntity(SkcKnowVersion skcKnowVersion);

    public SkcKnowVersion editSkcKnowVersionEntity(SkcKnowVersion skcKnowVersion);

    public void delSkcKnowVersion(String id);

    public SkcKnowVersion getSkcKnowVersionById(String id);

    public List<SkcKnowVersion> getSkcKnowVersions(DataQuery query);

    public DataResult searchSkcKnowVersion(DataQuery query);

    public int getSkcKnowVersionNum(DataQuery query);
    
    public int getNum(DataQuery query);

    public int getNumByKnowId(String knowid);
    /*[tree：树形结构使用]
    public void moveTreeNode(List<String> ids, String id);
    
    void autoSort(List<String> ids);
    */
}
